|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnegotiator.boaframework.OfferingStrategy
negotiator.boaframework.offeringstrategy.anac2010.AgentSmith_Offering
public class AgentSmith_Offering
This is the decoupled Offering Strategy for AgentSmith (ANAC2010). The code was taken from the ANAC2010 AgentSmith and adapted to work within the BOA framework. Using another opponent model strategy makes no sense for this agent. DEFAULT OM: SmithFrequencyModel Decoupling Negotiating Agents to Explore the Space of Negotiation Strategies T. Baarslag, K. Hindriks, M. Hendrikx, A. Dirkzwager, C.M. Jonker
| Nested Class Summary | |
|---|---|
class |
AgentSmith_Offering.BidComparator
|
| Field Summary |
|---|
| Fields inherited from class negotiator.boaframework.OfferingStrategy |
|---|
endNegotiation, helper, negotiationSession, nextBid, omStrategy, opponentModel |
| Constructor Summary | |
|---|---|
AgentSmith_Offering()
Empty constructor called by BOA framework. |
|
AgentSmith_Offering(NegotiationSession negoSession,
OpponentModel om,
OMStrategy oms)
|
|
| Method Summary | |
|---|---|
BidDetails |
determineNextBid()
Determines the next bid the agent will offer to the opponent |
BidDetails |
determineOpeningBid()
Determines the first bid to be offered by the agent |
Bid |
getMostOptimalBid()
Calculate the most optimal bid |
void |
init(NegotiationSession negotiationSession,
OpponentModel model,
OMStrategy oms,
java.util.HashMap<java.lang.String,java.lang.Double> parameters)
Initializes the offering strategy. |
void |
initializeAgent(NegotiationSession negoSession,
OpponentModel om,
OMStrategy oms)
|
| Methods inherited from class negotiator.boaframework.OfferingStrategy |
|---|
endSession, getHelper, getNextBid, isEndNegotiation, loadData, setNextBid, storeData |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AgentSmith_Offering()
public AgentSmith_Offering(NegotiationSession negoSession,
OpponentModel om,
OMStrategy oms)
| Method Detail |
|---|
public void init(NegotiationSession negotiationSession,
OpponentModel model,
OMStrategy oms,
java.util.HashMap<java.lang.String,java.lang.Double> parameters)
throws java.lang.Exception
OfferingStrategy
init in class OfferingStrategynegotiationSession - state of the negotiation.model - opponent model which may be used.oms - opponent model strategy which may be used.parameters - optional parameters for the offering strategy.
java.lang.Exception - if the offering strategy fails to initialize.
public void initializeAgent(NegotiationSession negoSession,
OpponentModel om,
OMStrategy oms)
public BidDetails determineNextBid()
OfferingStrategy
determineNextBid in class OfferingStrategypublic BidDetails determineOpeningBid()
OfferingStrategy
determineOpeningBid in class OfferingStrategypublic Bid getMostOptimalBid()
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||